GCC BPF: factor out into a separate job#171
Merged
theihor merged 1 commit intolibbpf:mainfrom Feb 5, 2025
Merged
Conversation
5e2b2c0 to
0eb4f07
Compare
In order to test selftests/bpf build with GCC BPF, the latest snapshot
of GCC BPF compiler has to built from source.
We don't want this to be a dependency for all the test runners, so
introduce a separate gcc-bpf workflow that executes the following:
* checkout Linux source tree and patch it (as in kernel-build)
* download relevant artifacts with the KBUILD_OUTPUT objects (as in
kernel-test)
* build/download GCC BPF compiler
* build selftests/bpf/test_progs-bpf_gcc runner, hence the test BPF
objects built with GCC
The test_progs-bpf_gcc runner is not executed on BPF CI yet [1], so
successful selftests build is a successful job run.
[1] https://lore.kernel.org/bpf/87bjw6qpje.fsf@oracle.com/
Contributor
Author
|
kernel-patches/vmtest pipeline has passed: https://github.com/kernel-patches/vmtest/actions/runs/13163688712/job/36739008180 |
0eb4f07 to
e28795f
Compare
theihor
added a commit
to kernel-patches/vmtest
that referenced
this pull request
Feb 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In order to test selftests/bpf build with GCC BPF, the latest snapshot of GCC BPF compiler has to built from source.
We don't want this to be a dependency for all the test runners, so
introduce a separate gcc-bpf workflow that executes the following:
kernel-test)
objects built with GCC
The test_progs-bpf_gcc runner is not executed on BPF CI yet [1], so successful selftests build is a successful job run.
[1] https://lore.kernel.org/bpf/87bjw6qpje.fsf@oracle.com/